package com.aynu.webshop.web.dao;

import java.util.List;

import com.aynu.webshop.core.generic.GenericDao;
import com.aynu.webshop.web.model.Orderdetail;

public interface OrderdetailMapper extends GenericDao<Orderdetail, Integer>{
    int deleteByPrimaryKey(Integer odId);

    int insert(Orderdetail record);

    int insertSelective(Orderdetail record);

    Orderdetail selectByPrimaryKey(Integer odId);

    int updateByPrimaryKeySelective(Orderdetail record);

    int updateByPrimaryKey(Orderdetail record);
    
    List<Orderdetail> findAll();

	List<Orderdetail> findDetailByOid(Integer oid);
}